<!DOCTYPE HTML>
<html lang="zh-CN">


<head>
    <meta charset="utf-8">
    <meta name="keywords" content="归档: 2022, 博客 blog">
    <meta name="description" content="熊猫小二的博客  xmxe&#39;s blog">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <!-- 为了引用qq空间图床文件 -->
    <meta name="referrer" content="no-referrer">
    <!-- Global site tag (gtag.js) - Google Analytics -->


    <title>归档: 2022 | 熊猫小二</title>
    <link rel="icon" type="image/x-icon, image/vnd.microsoft.icon" href="/blog/favicon.ico">
    <link rel="stylesheet" type="text/css" href="/blog/libs/awesome/css/all.css">
    <link rel="stylesheet" type="text/css" href="/blog/libs/materialize/materialize.min.css">
    <link rel="stylesheet" type="text/css" href="/blog/libs/aos/aos.css">
    <link rel="stylesheet" type="text/css" href="/blog/libs/animate/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/blog/libs/lightGallery/css/lightgallery.min.css">
    <link rel="stylesheet" type="text/css" href="/blog/css/matery.css">
    <link rel="stylesheet" type="text/css" href="/blog/css/my.css">
    <link rel="stylesheet" type="text/css" href="/blog/css/loading.css">

    <script src="/blog/libs/jquery/jquery.min.js"></script>

<meta name="generator" content="Hexo 6.3.0"></head>



   
<style>
    body{
       background-image: url(/blog/medias/cover.jpg);
       background-repeat:no-repeat;
       background-size:cover;
       background-attachment:fixed;
    }
</style>



<body>
    
  <div id="loading-box">
    <div class="loading-left-bg"></div>
    <div class="loading-right-bg"></div>
    <div class="spinner-box">
      <div class="configure-border-1">
        <div class="configure-core"></div>
      </div>
      <div class="configure-border-2">
        <div class="configure-core"></div>
      </div>
      <div class="loading-word">加载中...</div>
    </div>
  </div>
  <!-- 页面加载动画 -->
  <script>
    $(document).ready(function () {
      // document.body.style.overflow = 'auto';
      document.getElementById('loading-box').classList.add("loaded")
    })
  </script>

    <header class="navbar-fixed">
    <nav id="headNav" class="bg-color nav-transparent">
        <div id="navContainer" class="nav-wrapper container">
            <div class="brand-logo">
                <a href="/blog/" class="waves-effect waves-light">
                    
                        <img src="/blog/medias/logo.png" class="logo-img" alt="LOGO">
                    
                    <span class="logo-span">熊猫小二</span>
                </a>
            </div>
            

<a href="#" data-target="mobile-nav" class="sidenav-trigger button-collapse"><i class="fas fa-bars"></i></a>
<ul class="right nav-menu">
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/blog/" class="waves-effect waves-light">
      
      <i class="fas fa-home" style="zoom: 0.6;"></i>
      
      <span>首页</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="#" class="waves-effect waves-light">

      
      <i class="fas fa-book" style="zoom: 0.6;"></i>
      
      <span>归档</span>
      <i class="fas fa-chevron-down" aria-hidden="true" style="zoom: 0.6;"></i>
    </a>
    <ul class="sub-nav menus_item_child ">
      
      <li>
        <a href="/blog/archives">
          
          <i class="fas fa-archive" style="margin-top: -20px; zoom: 0.6;"></i>
          
          <span>归档</span>
        </a>
      </li>
      
      <li>
        <a href="/blog/tags">
          
          <i class="fas fa-tags" style="margin-top: -20px; zoom: 0.6;"></i>
          
          <span>标签</span>
        </a>
      </li>
      
      <li>
        <a href="/blog/categories">
          
          <i class="fas fa-bookmark" style="margin-top: -20px; zoom: 0.6;"></i>
          
          <span>分类</span>
        </a>
      </li>
      
    </ul>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/blog/friends" class="waves-effect waves-light">
      
      <i class="fas fa-address-book" style="zoom: 0.6;"></i>
      
      <span>友链</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="#" class="waves-effect waves-light">

      
      <i class="fas fa-user-circle" style="zoom: 0.6;"></i>
      
      <span>关于</span>
      <i class="fas fa-chevron-down" aria-hidden="true" style="zoom: 0.6;"></i>
    </a>
    <ul class="sub-nav menus_item_child ">
      
      <li>
        <a href="/blog/about">
          
          <i class="fas fa-star-of-david" style="margin-top: -20px; zoom: 0.6;"></i>
          
          <span>主页</span>
        </a>
      </li>
      
      <li>
        <a href="/blog/gallery">
          
          <i class="fas fa-images" style="margin-top: -20px; zoom: 0.6;"></i>
          
          <span>相册</span>
        </a>
      </li>
      
    </ul>
    
  </li>
  
  <li>
    <a href="#searchModal" class="modal-trigger waves-effect waves-light">
      <i id="searchIcon" class="fas fa-search" title="搜索" style="zoom: 0.85;"></i>
    </a>
  </li>
  
    <li>
      <a class="waves-effect waves-light" onclick="switchNightMode()">
        <i id="sum-moon-icon" class="fas fa-sun" style="zoom:0.65;" title="切换主题"></i>
      </a>
    </li>
  
  
</ul>


<div id="mobile-nav" class="side-nav sidenav">

    <div class="mobile-head bg-color">
        
          <img src="/blog/medias/logo.png" class="logo-img circle responsive-img">
        
        <div class="logo-name">熊猫小二</div>
        <div class="logo-desc">
            
            熊猫小二的博客  xmxe&#39;s blog
            
        </div>
    </div>

    

    <ul class="menu-list mobile-menu-list">
        
        <li class="m-nav-item">
	  
		<a href="/blog/" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-home"></i>
			
			首页
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="javascript:;">
			
				<i class="fa-fw fas fa-book"></i>
			
			归档
			<span class="m-icon"><i class="fas fa-chevron-right"></i></span>
		</a>
            <ul  >
              
                <li>

                  <a href="/blog/archives " style="margin-left:75px">
				  
				   <i class="fa fas fa-archive" style="position: absolute;left:50px" ></i>
			      
		          <span>归档</span>
                  </a>
                </li>
              
                <li>

                  <a href="/blog/tags " style="margin-left:75px">
				  
				   <i class="fa fas fa-tags" style="position: absolute;left:50px" ></i>
			      
		          <span>标签</span>
                  </a>
                </li>
              
                <li>

                  <a href="/blog/categories " style="margin-left:75px">
				  
				   <i class="fa fas fa-bookmark" style="position: absolute;left:50px" ></i>
			      
		          <span>分类</span>
                  </a>
                </li>
              
            </ul>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/blog/friends" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-address-book"></i>
			
			友链
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="javascript:;">
			
				<i class="fa-fw fas fa-user-circle"></i>
			
			关于
			<span class="m-icon"><i class="fas fa-chevron-right"></i></span>
		</a>
            <ul  >
              
                <li>

                  <a href="/blog/about " style="margin-left:75px">
				  
				   <i class="fa fas fa-star-of-david" style="position: absolute;left:50px" ></i>
			      
		          <span>主页</span>
                  </a>
                </li>
              
                <li>

                  <a href="/blog/gallery " style="margin-left:75px">
				  
				   <i class="fa fas fa-images" style="position: absolute;left:50px" ></i>
			      
		          <span>相册</span>
                  </a>
                </li>
              
            </ul>
          
        </li>
        
        
    </ul>
</div>


        </div>

        
    </nav>

</header>

    <div class="bg-cover pd-header about-cover">
    <div class="container">
    <div class="row">
    <div class="col s10 offset-s1 m8 offset-m2 l8 offset-l2">
        <div class="brand">
            <div class="title center-align">
                
                    
                
            </div>

            <div class="description center-align">
                
                
                <!-- 一言 -->
                
                    <span id="hitokoto" style="font-size: 2rem;"></span>
                    <!-- 打字机 -->
                    <!-- <script src="https://cdn.jsdelivr.net/npm/typed.js@2.0.11"></script> -->
                    <!-- <script src="https://cdn.jsdelivr.net/npm/bluebird@3/js/browser/bluebird.min.js"></script> -->
                    <!-- <script src="https://cdn.jsdelivr.net/npm/whatwg-fetch@2.0.3/fetch.min.js"></script> -->
                    <script>
                        var hitokotoContent = ''
                        function typed(hitokotoContent) {
                            var typed = new Typed("#hitokoto", {
                                strings: [
                                    hitokotoContent
                                ],
                                startDelay: 300,
                                typeSpeed: 70,
                                loop: false,
                                backSpeed: 50,
                                showCursor: true
                            });
                        }
                        async function hitokoto() {
                            hitokotoContent = await fetch('https://v1.hitokoto.cn')
                                .then(function (res) {
                                    return res.json();
                                })
                                .then(function (data) {
                                    return (data.hitokoto);
                                })
                                .catch(function (err) {
                                    console.error(err);
                                })
                            await typed(hitokotoContent)
                        }
                        hitokoto()
                    </script>
                
            </div>
        </div>
    </div>
</div>




<script>
    // 每天切换banner图.
    // var bannerUrl = "/blog/medias/banner/" + new Date().getDay() + '.jpg';

    // 随机切换banner图
    var randomNum = Math.floor(Math.random() * 15 + 1) - 1
    var randomUrl = 'medias/featureimages/0.jpg,medias/featureimages/1.jpg,medias/featureimages/2.jpg,medias/featureimages/3.jpg,medias/featureimages/4.jpg,medias/featureimages/5.jpg,medias/featureimages/7.jpg,medias/featureimages/6.jpg,medias/featureimages/8.jpg,medias/featureimages/9.jpg,medias/featureimages/10.jpg,medias/featureimages/11.jpg,medias/featureimages/12.jpg,medias/featureimages/13.jpg,medias/featureimages/14.jpg'.split(',')[randomNum]
    if(!false){
        randomUrl =  '/blog/' + 'medias/featureimages/0.jpg,medias/featureimages/1.jpg,medias/featureimages/2.jpg,medias/featureimages/3.jpg,medias/featureimages/4.jpg,medias/featureimages/5.jpg,medias/featureimages/7.jpg,medias/featureimages/6.jpg,medias/featureimages/8.jpg,medias/featureimages/9.jpg,medias/featureimages/10.jpg,medias/featureimages/11.jpg,medias/featureimages/12.jpg,medias/featureimages/13.jpg,medias/featureimages/14.jpg'.split(',')[randomNum]
    }
    
    $('.bg-cover').css('background-image', 'url(' + randomUrl + ')');
</script>


    </div>
</div>

<main class="content">

    

    

    <div class="container archive-container ">
        <div class="card">
            <div class="card-content">
                <div class="tag-chips">   
                    <span onclick="showTime()" id="sp-timeline" class="chip center-align waves-effect waves-light" data-tagname="时间轴" style="background: rgb(249, 235, 234); color: rgba(0, 0, 0, 0.6);">时间轴
                    </span>
                    <span onclick="showTable()" id="sp-table" class="chip center-align waves-effect waves-light" data-tagname="时间列表" style="background: linear-gradient(to right, rgb(76, 191, 48) 0%, rgb(15, 157, 88) 100%); color: rgb(255, 255, 255);">时间列表
                    </span>
                </div>
            </div>
        </div>
    </div>
    
    <!-- 时间轴 -->
    <div id="cd-timeline" class="container">
        
        <div class="cd-timeline-block">

            
            
            
            <div class="cd-timeline-img year" data-aos="zoom-in-up">
                <a href="/blog/archives/2022">2022</a>
            </div>
            

            
            
            
            <div class="cd-timeline-img month" data-aos="zoom-in-up">
                <a href="/blog/archives/2022/09">09</a>
            </div>
            

            
            <div class="cd-timeline-img day" data-aos="zoom-in-up">
                <span>29</span>
            </div>
            <article class="cd-timeline-content" data-aos="fade-up">
                <div class="article col s12 m6">
                    <div class="card">
                        <a href="/blog/posts/50718223d917/">
                            <div class="card-image">
                                
                                <img src="https://pic1.zhimg.com/06a1751875c26f6409149f9380a7899c_r.jpg" class="responsive-img" alt="Java中的线程">
                                
                                <span class="card-title">Java中的线程</span>
                            </div>
                        </a>
                        <div class="card-content article-content">
                            <div class="summary block-with-text">
                                
                                    线程+线程池+虚拟线程
                                
                            </div>
                            <div class="publish-info">
                                <span class="publish-date">
                                    <!--
                                    <i class="far fa-clock fa-fw icon-date"></i>2022-09-29
                                    -->
                                    
                                        <i class="fas fa-user fa-fw"></i>
                                        <a href="/blog/about" >
                                            xmxe
                                        </a>
                                    
                                </span>
                                <span class="publish-author">
                                    
                                        <i class="fas fa-bookmark fa-fw icon-category"></i>
                                        
                                            <a href="/blog/categories/Java/" class="post-category">
                                                Java
                                            </a>
                                        
                                    
                                    
                                </span>
                            </div>
                        </div>

                    </div>
                </div>
            </article>
        </div>
        
        <div class="cd-timeline-block">

            
            

            
            

            
            <div class="cd-timeline-img day" data-aos="zoom-in-up">
                <span>29</span>
            </div>
            <article class="cd-timeline-content" data-aos="fade-up">
                <div class="article col s12 m6">
                    <div class="card">
                        <a href="/blog/posts/289bdc29a0ae/">
                            <div class="card-image">
                                
                                <img src="https://pic2.zhimg.com/v2-afbb5fb285f0775146b89fe018dbbc93_r.jpg" class="responsive-img" alt="ArrayList&amp;CopyOnWriteArrayList">
                                
                                <span class="card-title">ArrayList&amp;CopyOnWriteArrayList</span>
                            </div>
                        </a>
                        <div class="card-content article-content">
                            <div class="summary block-with-text">
                                
                                    ArrayListArrayList的底层实现是一个Object数组,ArrayList的无参构造函数为底层的Object数组也就是elementData赋值了一个默认的空数组DEFAULTCAPACITY_EMPTY_ELEMENTDAT
                                
                            </div>
                            <div class="publish-info">
                                <span class="publish-date">
                                    <!--
                                    <i class="far fa-clock fa-fw icon-date"></i>2022-09-29
                                    -->
                                    
                                        <i class="fas fa-user fa-fw"></i>
                                        <a href="/blog/about" >
                                            xmxe
                                        </a>
                                    
                                </span>
                                <span class="publish-author">
                                    
                                        <i class="fas fa-bookmark fa-fw icon-category"></i>
                                        
                                            <a href="/blog/categories/Java/" class="post-category">
                                                Java
                                            </a>
                                        
                                    
                                    
                                </span>
                            </div>
                        </div>

                    </div>
                </div>
            </article>
        </div>
        
        <div class="cd-timeline-block">

            
            

            
            

            
            <div class="cd-timeline-img day" data-aos="zoom-in-up">
                <span>29</span>
            </div>
            <article class="cd-timeline-content" data-aos="fade-up">
                <div class="article col s12 m6">
                    <div class="card">
                        <a href="/blog/posts/366519dedccc/">
                            <div class="card-image">
                                
                                <img src="https://pica.zhimg.com/v2-617196c5dc7927460c726d1477174464_1440w.jpg" class="responsive-img" alt="HashMap&amp;ConcurrentHashMap">
                                
                                <span class="card-title">HashMap&amp;ConcurrentHashMap</span>
                            </div>
                        </a>
                        <div class="card-content article-content">
                            <div class="summary block-with-text">
                                
                                    HashMapHashMap简介HashMap主要用来存放键值对，它基于哈希表的Map接口实现，是常用的Java集合之一，是非线程安全的。HashMap可以存储null的key和value，但null作为键只能有一个，null作为值可以有多
                                
                            </div>
                            <div class="publish-info">
                                <span class="publish-date">
                                    <!--
                                    <i class="far fa-clock fa-fw icon-date"></i>2022-09-29
                                    -->
                                    
                                        <i class="fas fa-user fa-fw"></i>
                                        <a href="/blog/about" >
                                            xmxe
                                        </a>
                                    
                                </span>
                                <span class="publish-author">
                                    
                                        <i class="fas fa-bookmark fa-fw icon-category"></i>
                                        
                                            <a href="/blog/categories/Java/" class="post-category">
                                                Java
                                            </a>
                                        
                                    
                                    
                                </span>
                            </div>
                        </div>

                    </div>
                </div>
            </article>
        </div>
        
        <div class="cd-timeline-block">

            
            

            
            

            
            <div class="cd-timeline-img day" data-aos="zoom-in-up">
                <span>28</span>
            </div>
            <article class="cd-timeline-content" data-aos="fade-up">
                <div class="article col s12 m6">
                    <div class="card">
                        <a href="/blog/posts/5894be866015/">
                            <div class="card-image">
                                
                                <img src="https://pic2.zhimg.com/v2-e350688eea0fb2c0859b7b8a3abec2c8_1440w.jpg" class="responsive-img" alt="事务">
                                
                                <span class="card-title">事务</span>
                            </div>
                        </a>
                        <div class="card-content article-content">
                            <div class="summary block-with-text">
                                
                                    什么是事务事务是逻辑上的一组操作，要么都执行，要么都不执行。我们系统的每个业务方法可能包括了多个原子性的数据库操作，比如下面的savePerson()方法中就有两个原子性的数据库操作。这些原子性的数据库操作是有依赖的，它们要么都执行，要不就
                                
                            </div>
                            <div class="publish-info">
                                <span class="publish-date">
                                    <!--
                                    <i class="far fa-clock fa-fw icon-date"></i>2022-09-28
                                    -->
                                    
                                        <i class="fas fa-user fa-fw"></i>
                                        <a href="/blog/about" >
                                            xmxe
                                        </a>
                                    
                                </span>
                                <span class="publish-author">
                                    
                                        <i class="fas fa-bookmark fa-fw icon-category"></i>
                                        
                                            <a href="/blog/categories/%E6%95%B0%E6%8D%AE%E5%BA%93/" class="post-category">
                                                数据库
                                            </a>
                                        
                                            <a href="/blog/categories/Spring/" class="post-category">
                                                Spring
                                            </a>
                                        
                                    
                                    
                                </span>
                            </div>
                        </div>

                    </div>
                </div>
            </article>
        </div>
        
        <div class="cd-timeline-block">

            
            

            
            

            
            <div class="cd-timeline-img day" data-aos="zoom-in-up">
                <span>28</span>
            </div>
            <article class="cd-timeline-content" data-aos="fade-up">
                <div class="article col s12 m6">
                    <div class="card">
                        <a href="/blog/posts/2eaa11f9c3b9/">
                            <div class="card-image">
                                
                                <img src="https://pic2.zhimg.com/v2-98bbd70b053dd779240634a00c7f0950_1440w.jpg" class="responsive-img" alt="Docker">
                                
                                <span class="card-title">Docker</span>
                            </div>
                        </a>
                        <div class="card-content article-content">
                            <div class="summary block-with-text">
                                
                                    基本概念Docker架构Docker架构包括以下几个核心组件：

Docker客户端(Client):用户与Docker交互的命令行工具或API。

Docker服务器(Server):负责管理镜像、容器、网络等资源的后台服务。

Dock
                                
                            </div>
                            <div class="publish-info">
                                <span class="publish-date">
                                    <!--
                                    <i class="far fa-clock fa-fw icon-date"></i>2022-09-28
                                    -->
                                    
                                        <i class="fas fa-user fa-fw"></i>
                                        <a href="/blog/about" >
                                            xmxe
                                        </a>
                                    
                                </span>
                                <span class="publish-author">
                                    
                                        <i class="fas fa-bookmark fa-fw icon-category"></i>
                                        
                                            <a href="/blog/categories/%E6%8A%80%E6%9C%AF%E6%A0%88/" class="post-category">
                                                技术栈
                                            </a>
                                        
                                    
                                        
                                            <a href="/blog/tags/%E5%AE%89%E8%A3%85/">
                                                <span class="chip bg-color">
                                                    安装
                                                </span>
                                            </a>
                                        
                                    
                                    
                                </span>
                            </div>
                        </div>

                    </div>
                </div>
            </article>
        </div>
        
        <div class="cd-timeline-block">

            
            

            
            

            
            <div class="cd-timeline-img day" data-aos="zoom-in-up">
                <span>28</span>
            </div>
            <article class="cd-timeline-content" data-aos="fade-up">
                <div class="article col s12 m6">
                    <div class="card">
                        <a href="/blog/posts/907da0ca1c57/">
                            <div class="card-image">
                                
                                <img src="https://img0.baidu.com/it/u=730256309,1700139135&fm=253&fmt=auto&app=138&f=JPEG?w=899&h=500" class="responsive-img" alt="MySQL安装">
                                
                                <span class="card-title">MySQL安装</span>
                            </div>
                        </a>
                        <div class="card-content article-content">
                            <div class="summary block-with-text">
                                
                                    Linux安装MySQL压缩包安装1. 下载MySQL下载地址,MySQL下载地址下载后将安装包上传usr&#x2F;local
2. 解压tar -zxvf mysql-5.6.33-linux-glibc2.5-x86_64.tar.g
                                
                            </div>
                            <div class="publish-info">
                                <span class="publish-date">
                                    <!--
                                    <i class="far fa-clock fa-fw icon-date"></i>2022-09-28
                                    -->
                                    
                                        <i class="fas fa-user fa-fw"></i>
                                        <a href="/blog/about" >
                                            xmxe
                                        </a>
                                    
                                </span>
                                <span class="publish-author">
                                    
                                        <i class="fas fa-bookmark fa-fw icon-category"></i>
                                        
                                            <a href="/blog/categories/%E6%95%B0%E6%8D%AE%E5%BA%93/" class="post-category">
                                                数据库
                                            </a>
                                        
                                    
                                        
                                            <a href="/blog/tags/%E5%AE%89%E8%A3%85/">
                                                <span class="chip bg-color">
                                                    安装
                                                </span>
                                            </a>
                                        
                                    
                                    
                                </span>
                            </div>
                        </div>

                    </div>
                </div>
            </article>
        </div>
        
        <div class="cd-timeline-block">

            
            

            
            

            
            <div class="cd-timeline-img day" data-aos="zoom-in-up">
                <span>27</span>
            </div>
            <article class="cd-timeline-content" data-aos="fade-up">
                <div class="article col s12 m6">
                    <div class="card">
                        <a href="/blog/posts/be5a099f7894/">
                            <div class="card-image">
                                
                                <img src="https://pic1.zhimg.com/v2-716588f96320420369eb5a5734852aa5_1440w.jpg" class="responsive-img" alt="JVM知识点">
                                
                                <span class="card-title">JVM知识点</span>
                            </div>
                        </a>
                        <div class="card-content article-content">
                            <div class="summary block-with-text">
                                
                                    JVM内存区域、垃圾回收、调优、JVM工具、参数等相关命令
                                
                            </div>
                            <div class="publish-info">
                                <span class="publish-date">
                                    <!--
                                    <i class="far fa-clock fa-fw icon-date"></i>2022-09-27
                                    -->
                                    
                                        <i class="fas fa-user fa-fw"></i>
                                        <a href="/blog/about" >
                                            xmxe
                                        </a>
                                    
                                </span>
                                <span class="publish-author">
                                    
                                        <i class="fas fa-bookmark fa-fw icon-category"></i>
                                        
                                            <a href="/blog/categories/Java/" class="post-category">
                                                Java
                                            </a>
                                        
                                    
                                    
                                </span>
                            </div>
                        </div>

                    </div>
                </div>
            </article>
        </div>
        
        <div class="cd-timeline-block">

            
            

            
            

            
            <div class="cd-timeline-img day" data-aos="zoom-in-up">
                <span>27</span>
            </div>
            <article class="cd-timeline-content" data-aos="fade-up">
                <div class="article col s12 m6">
                    <div class="card">
                        <a href="/blog/posts/30bd6b4cbf9a/">
                            <div class="card-image">
                                
                                <img src="https://pica.zhimg.com/v2-6baae9baaef9c2a3188f9fc301833fba_1440w.jpg" class="responsive-img" alt="Git">
                                
                                <span class="card-title">Git</span>
                            </div>
                        </a>
                        <div class="card-content article-content">
                            <div class="summary block-with-text">
                                
                                    常用命令git diff# 可以查看当前没有add的内容修改（不在缓冲区的文件变化）
git diff
# 查看已经add但没有commit的改动（在缓冲区的文件变化）
git diff --cached
# 是上面两条命令的合并
git 
                                
                            </div>
                            <div class="publish-info">
                                <span class="publish-date">
                                    <!--
                                    <i class="far fa-clock fa-fw icon-date"></i>2022-09-27
                                    -->
                                    
                                        <i class="fas fa-user fa-fw"></i>
                                        <a href="/blog/about" >
                                            xmxe
                                        </a>
                                    
                                </span>
                                <span class="publish-author">
                                    
                                        <i class="fas fa-bookmark fa-fw icon-category"></i>
                                        
                                            <a href="/blog/categories/%E6%8A%80%E6%9C%AF%E6%A0%88/" class="post-category">
                                                技术栈
                                            </a>
                                        
                                    
                                    
                                </span>
                            </div>
                        </div>

                    </div>
                </div>
            </article>
        </div>
        
        <div class="cd-timeline-block">

            
            

            
            

            
            <div class="cd-timeline-img day" data-aos="zoom-in-up">
                <span>27</span>
            </div>
            <article class="cd-timeline-content" data-aos="fade-up">
                <div class="article col s12 m6">
                    <div class="card">
                        <a href="/blog/posts/2ab37fc4e673/">
                            <div class="card-image">
                                
                                <img src="https://picx1.zhimg.com/v2-e68d524210343613129267bd2cb75a0d_1440w.jpg" class="responsive-img" alt="Nginx">
                                
                                <span class="card-title">Nginx</span>
                            </div>
                        </a>
                        <div class="card-content article-content">
                            <div class="summary block-with-text">
                                
                                    Nginx安装离线安装下载
# 下载nginx:
wget http://nginx.org/download/nginx-1.8.1.tar.gz
# 下载openssl:
wget https://www.openssl.org/sou
                                
                            </div>
                            <div class="publish-info">
                                <span class="publish-date">
                                    <!--
                                    <i class="far fa-clock fa-fw icon-date"></i>2022-09-27
                                    -->
                                    
                                        <i class="fas fa-user fa-fw"></i>
                                        <a href="/blog/about" >
                                            xmxe
                                        </a>
                                    
                                </span>
                                <span class="publish-author">
                                    
                                        
                                            <a href="/blog/tags/%E5%AE%89%E8%A3%85/">
                                                <span class="chip bg-color">
                                                    安装
                                                </span>
                                            </a>
                                        
                                    
                                    
                                </span>
                            </div>
                        </div>

                    </div>
                </div>
            </article>
        </div>
        
        <div class="cd-timeline-block">

            
            

            
            

            
            <div class="cd-timeline-img day" data-aos="zoom-in-up">
                <span>27</span>
            </div>
            <article class="cd-timeline-content" data-aos="fade-up">
                <div class="article col s12 m6">
                    <div class="card">
                        <a href="/blog/posts/a8a3d9e9be38/">
                            <div class="card-image">
                                
                                <img src="https://img2.baidu.com/it/u=1090189516,820941418&fm=253&fmt=auto&app=138&f=JPEG?w=750&h=500" class="responsive-img" alt="Linux相关">
                                
                                <span class="card-title">Linux相关</span>
                            </div>
                        </a>
                        <div class="card-content article-content">
                            <div class="summary block-with-text">
                                
                                    相关命令nohup command &amp;nohup command &amp;意思是在关闭ssh情况下不会退出进程。command参数表示要执行的命令行。但是这种方式启动项目会默认生成一个nohup.out的文件来记录日志，而且会越来
                                
                            </div>
                            <div class="publish-info">
                                <span class="publish-date">
                                    <!--
                                    <i class="far fa-clock fa-fw icon-date"></i>2022-09-27
                                    -->
                                    
                                        <i class="fas fa-user fa-fw"></i>
                                        <a href="/blog/about" >
                                            xmxe
                                        </a>
                                    
                                </span>
                                <span class="publish-author">
                                    
                                        
                                            <a href="/blog/tags/%E8%AE%A1%E7%AE%97%E6%9C%BA/">
                                                <span class="chip bg-color">
                                                    计算机
                                                </span>
                                            </a>
                                        
                                    
                                    
                                </span>
                            </div>
                        </div>

                    </div>
                </div>
            </article>
        </div>
        
        <div class="cd-timeline-block">

            
            

            
            

            
            <div class="cd-timeline-img day" data-aos="zoom-in-up">
                <span>27</span>
            </div>
            <article class="cd-timeline-content" data-aos="fade-up">
                <div class="article col s12 m6">
                    <div class="card">
                        <a href="/blog/posts/e3cef6238a63/">
                            <div class="card-image">
                                
                                <img src="https://pic1.zhimg.com/v2-c35c3cd265fdcbb1fa7adbea81378c7a.jpg" class="responsive-img" alt="启动命令">
                                
                                <span class="card-title">启动命令</span>
                            </div>
                        </a>
                        <div class="card-content article-content">
                            <div class="summary block-with-text">
                                
                                    redis./redis-server /usr/local/redis/redis.conf
./redis-cli -h 127.0.0.1 -p 6379 -a 123456
./redis-cli -h 127.0.0.1 -p 6
                                
                            </div>
                            <div class="publish-info">
                                <span class="publish-date">
                                    <!--
                                    <i class="far fa-clock fa-fw icon-date"></i>2022-09-27
                                    -->
                                    
                                        <i class="fas fa-user fa-fw"></i>
                                        <a href="/blog/about" >
                                            xmxe
                                        </a>
                                    
                                </span>
                                <span class="publish-author">
                                    
                                        
                                            <a href="/blog/tags/%E9%9A%8F%E7%AC%94/">
                                                <span class="chip bg-color">
                                                    随笔
                                                </span>
                                            </a>
                                        
                                    
                                    
                                </span>
                            </div>
                        </div>

                    </div>
                </div>
            </article>
        </div>
        
        <div class="cd-timeline-block">

            
            

            
            

            
            <div class="cd-timeline-img day" data-aos="zoom-in-up">
                <span>27</span>
            </div>
            <article class="cd-timeline-content" data-aos="fade-up">
                <div class="article col s12 m6">
                    <div class="card">
                        <a href="/blog/posts/1f755d9b6744/">
                            <div class="card-image">
                                
                                <img src="https://gimg2.baidu.com/image_search/src=http%3A%2F%2F29520719.s21i.faiusr.com%2F2%2FABUIABACGAAgpufK7QUoj7DrqQIw6Ac4_QQ%21800x800.jpg&refer=http%3A%2F%2F29520719.s21i.faiusr.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1669537603&t=31ddd7a1992896268a14e72c35ed60ed" class="responsive-img" alt="Oracle相关及常用函数">
                                
                                <span class="card-title">Oracle相关及常用函数</span>
                            </div>
                        </a>
                        <div class="card-content article-content">
                            <div class="summary block-with-text">
                                
                                    Sys和System用户区别
Sys: 拥有DBA、SysDBA、Sysoper（系统操作员）角色或权限，是Oracle权限最高的用户，只能以SysDBA或Sysoper登录，不能以Normal形式登录。
System: 拥有DBA、Sys
                                
                            </div>
                            <div class="publish-info">
                                <span class="publish-date">
                                    <!--
                                    <i class="far fa-clock fa-fw icon-date"></i>2022-09-27
                                    -->
                                    
                                        <i class="fas fa-user fa-fw"></i>
                                        <a href="/blog/about" >
                                            xmxe
                                        </a>
                                    
                                </span>
                                <span class="publish-author">
                                    
                                        <i class="fas fa-bookmark fa-fw icon-category"></i>
                                        
                                            <a href="/blog/categories/%E6%95%B0%E6%8D%AE%E5%BA%93/" class="post-category">
                                                数据库
                                            </a>
                                        
                                    
                                    
                                </span>
                            </div>
                        </div>

                    </div>
                </div>
            </article>
        </div>
        
        <div class="cd-timeline-block">

            
            

            
            

            
            <div class="cd-timeline-img day" data-aos="zoom-in-up">
                <span>26</span>
            </div>
            <article class="cd-timeline-content" data-aos="fade-up">
                <div class="article col s12 m6">
                    <div class="card">
                        <a href="/blog/posts/002833e02e86/">
                            <div class="card-image">
                                
                                <img src="https://picx.zhimg.com/v2-499cbcaf31cf035a9850972edb24939f_1440w.jpg" class="responsive-img" alt="SQL Server函数">
                                
                                <span class="card-title">SQL Server函数</span>
                            </div>
                        </a>
                        <div class="card-content article-content">
                            <div class="summary block-with-text">
                                
                                    sql server行转列类似MySQL group_concat()使用stuff()。stuff()将字符串插入到另一个字符串中。它从第一个字符串的开始位置删除指定长度的字符；然后将第二个字符串插入到第一个字符串的开始位置。
selec
                                
                            </div>
                            <div class="publish-info">
                                <span class="publish-date">
                                    <!--
                                    <i class="far fa-clock fa-fw icon-date"></i>2022-09-26
                                    -->
                                    
                                        <i class="fas fa-user fa-fw"></i>
                                        <a href="/blog/about" >
                                            xmxe
                                        </a>
                                    
                                </span>
                                <span class="publish-author">
                                    
                                        <i class="fas fa-bookmark fa-fw icon-category"></i>
                                        
                                            <a href="/blog/categories/%E6%95%B0%E6%8D%AE%E5%BA%93/" class="post-category">
                                                数据库
                                            </a>
                                        
                                    
                                    
                                </span>
                            </div>
                        </div>

                    </div>
                </div>
            </article>
        </div>
        
        <div class="cd-timeline-block">

            
            

            
            

            
            <div class="cd-timeline-img day" data-aos="zoom-in-up">
                <span>23</span>
            </div>
            <article class="cd-timeline-content" data-aos="fade-up">
                <div class="article col s12 m6">
                    <div class="card">
                        <a href="/blog/posts/b83b4d5e2fab/">
                            <div class="card-image">
                                
                                <img src="https://pic2.zhimg.com/10163560dc4be0178c0b8398ed2592a5_r.jpg" class="responsive-img" alt="软件设计师考点笔记">
                                
                                <span class="card-title">软件设计师考点笔记</span>
                            </div>
                        </a>
                        <div class="card-content article-content">
                            <div class="summary block-with-text">
                                
                                    计算机组成与结构
①立即寻址：操作数就包含在指令中，直接指出操作数本身，速度最快。②直接寻址：操作数存放在内存单元中，指令中直接给出操作数所在存储单元的地址。③寄存器寻址：操作数存放在某一寄存器中，指令中给出存放操作数的寄存器名。④寄存器间
                                
                            </div>
                            <div class="publish-info">
                                <span class="publish-date">
                                    <!--
                                    <i class="far fa-clock fa-fw icon-date"></i>2022-09-23
                                    -->
                                    
                                        <i class="fas fa-user fa-fw"></i>
                                        <a href="/blog/about" >
                                            xmxe
                                        </a>
                                    
                                </span>
                                <span class="publish-author">
                                    
                                        
                                            <a href="/blog/tags/%E8%AE%A1%E7%AE%97%E6%9C%BA/">
                                                <span class="chip bg-color">
                                                    计算机
                                                </span>
                                            </a>
                                        
                                    
                                    
                                </span>
                            </div>
                        </div>

                    </div>
                </div>
            </article>
        </div>
        
        <div class="cd-timeline-block">

            
            

            
            

            
            <div class="cd-timeline-img day" data-aos="zoom-in-up">
                <span>23</span>
            </div>
            <article class="cd-timeline-content" data-aos="fade-up">
                <div class="article col s12 m6">
                    <div class="card">
                        <a href="/blog/posts/d1707b62ed37/">
                            <div class="card-image">
                                
                                <img src="https://pic1.zhimg.com/v2-ec5f66df043491179552104505cfdcda.jpg" class="responsive-img" alt="Java各类技术栈架构图汇总">
                                
                                <span class="card-title">Java各类技术栈架构图汇总</span>
                            </div>
                        </a>
                        <div class="card-content article-content">
                            <div class="summary block-with-text">
                                
                                    Java各类技术栈架构图汇总java类加载器架构
JVM架构


Java技术体系
线程运行架构
Java体系(编译与运行)结构
JMS技术架构

JMX技术架构

J2EE
框架Spring架构


Hibernate架构


ibati
                                
                            </div>
                            <div class="publish-info">
                                <span class="publish-date">
                                    <!--
                                    <i class="far fa-clock fa-fw icon-date"></i>2022-09-23
                                    -->
                                    
                                        <i class="fas fa-user fa-fw"></i>
                                        <a href="/blog/about" >
                                            xmxe
                                        </a>
                                    
                                </span>
                                <span class="publish-author">
                                    
                                        <i class="fas fa-bookmark fa-fw icon-category"></i>
                                        
                                            <a href="/blog/categories/Java/" class="post-category">
                                                Java
                                            </a>
                                        
                                    
                                    
                                </span>
                            </div>
                        </div>

                    </div>
                </div>
            </article>
        </div>
        
    </div>

    <!-- 时间列表 -->
    <div id="cd-table" class="container">
        <div class="card">
            <div class="card-content">
                <div class="list-group">    
                    <hr>
                    
                    
                      
                        
                        <p class="h5">2022</p>
                                     
                      <a href="/blog/posts/50718223d917/" class="list-group-item list-group-item-action">
                        <time>09-29</time>
                        <div class="list-group-item-title">Java中的线程</div>
                      </a>
                    
                                     
                      <a href="/blog/posts/289bdc29a0ae/" class="list-group-item list-group-item-action">
                        <time>09-29</time>
                        <div class="list-group-item-title">ArrayList&amp;CopyOnWriteArrayList</div>
                      </a>
                    
                                     
                      <a href="/blog/posts/366519dedccc/" class="list-group-item list-group-item-action">
                        <time>09-29</time>
                        <div class="list-group-item-title">HashMap&amp;ConcurrentHashMap</div>
                      </a>
                    
                                     
                      <a href="/blog/posts/5894be866015/" class="list-group-item list-group-item-action">
                        <time>09-28</time>
                        <div class="list-group-item-title">事务</div>
                      </a>
                    
                                     
                      <a href="/blog/posts/2eaa11f9c3b9/" class="list-group-item list-group-item-action">
                        <time>09-28</time>
                        <div class="list-group-item-title">Docker</div>
                      </a>
                    
                                     
                      <a href="/blog/posts/907da0ca1c57/" class="list-group-item list-group-item-action">
                        <time>09-28</time>
                        <div class="list-group-item-title">MySQL安装</div>
                      </a>
                    
                                     
                      <a href="/blog/posts/be5a099f7894/" class="list-group-item list-group-item-action">
                        <time>09-27</time>
                        <div class="list-group-item-title">JVM知识点</div>
                      </a>
                    
                                     
                      <a href="/blog/posts/30bd6b4cbf9a/" class="list-group-item list-group-item-action">
                        <time>09-27</time>
                        <div class="list-group-item-title">Git</div>
                      </a>
                    
                                     
                      <a href="/blog/posts/2ab37fc4e673/" class="list-group-item list-group-item-action">
                        <time>09-27</time>
                        <div class="list-group-item-title">Nginx</div>
                      </a>
                    
                                     
                      <a href="/blog/posts/a8a3d9e9be38/" class="list-group-item list-group-item-action">
                        <time>09-27</time>
                        <div class="list-group-item-title">Linux相关</div>
                      </a>
                    
                                     
                      <a href="/blog/posts/e3cef6238a63/" class="list-group-item list-group-item-action">
                        <time>09-27</time>
                        <div class="list-group-item-title">启动命令</div>
                      </a>
                    
                                     
                      <a href="/blog/posts/1f755d9b6744/" class="list-group-item list-group-item-action">
                        <time>09-27</time>
                        <div class="list-group-item-title">Oracle相关及常用函数</div>
                      </a>
                    
                                     
                      <a href="/blog/posts/002833e02e86/" class="list-group-item list-group-item-action">
                        <time>09-26</time>
                        <div class="list-group-item-title">SQL Server函数</div>
                      </a>
                    
                                     
                      <a href="/blog/posts/b83b4d5e2fab/" class="list-group-item list-group-item-action">
                        <time>09-23</time>
                        <div class="list-group-item-title">软件设计师考点笔记</div>
                      </a>
                    
                                     
                      <a href="/blog/posts/d1707b62ed37/" class="list-group-item list-group-item-action">
                        <time>09-23</time>
                        <div class="list-group-item-title">Java各类技术栈架构图汇总</div>
                      </a>
                    
                </div>
            </div>
        </div>
        
    </div>
</main>


<div class="container paging">
    <div class="row">
        <div class="col s6 m4 l4">
            
            <a href="/blog/archives/2022/"
               class="left btn-floating btn-large waves-effect waves-light bg-color">
                <i class="fas fa-angle-left"></i>
            </a>
            
        </div>
        <div class="page-info col m4 l4 hide-on-small-only">
            <div class="center-align b-text-gray">2 / 2</div>
        </div>
        <div class="col s6 m4 l4">
            
            <a class="right btn-floating btn-large disabled">
                <i class="fas fa-angle-right"></i>
            </a>
            
        </div>
    </div>
</div>



<script>
    if(sessionStorage.getItem('archive') === 'table'){
        showTable()
    }else{
        showTime()
    }
    function showTime() {
        sessionStorage.setItem('archive','time')
        $("#cd-timeline").show();
        $("#cd-table").hide();
        $("#sp-timeline").css('background', 'linear-gradient(to right, #4cbf30 0%, #0f9d58 100%)');
        $("#sp-timeline").css('color', '#fff');
        $("#sp-table").css('background', '#F9EBEA')
        $("#sp-table").css('color', 'rgba(0,0,0,0.6)');
    }

    function showTable() {
        sessionStorage.setItem('archive','table')
        $("#cd-timeline").hide();
        $("#cd-table").show();
        $("#sp-table").css('background', 'linear-gradient(to right, #4cbf30 0%, #0f9d58 100%)');
        $("#sp-table").css('color', '#fff');
        $("#sp-timeline").css('background', '#F9EBEA')
        $("#sp-timeline").css('color', 'rgba(0,0,0,0.6)');
    }

</script>

    <footer class="page-footer bg-color">
    
        <link rel="stylesheet" href="/blog/libs/aplayer/APlayer.min.css">
<style>
    .aplayer .aplayer-lrc p {
        
        display: none;
        
        font-size: 12px;
        font-weight: 700;
        line-height: 16px !important;
    }

    .aplayer .aplayer-lrc p.aplayer-lrc-current {
        
        display: none;
        
        font-size: 15px;
        color: #42b983;
    }

    
    .aplayer.aplayer-fixed.aplayer-narrow .aplayer-body {
        left: -66px !important;
    }

    .aplayer.aplayer-fixed.aplayer-narrow .aplayer-body:hover {
        left: 0px !important;
    }

    
</style>
<div class="">
    
    <div class="row">
        <meting-js class="col l8 offset-l2 m10 offset-m1 s12"
                   server="netease"
                   type="song"
                   id="569200213"
                   fixed='true'
                   autoplay='false'
                   theme='#42b983'
                   loop='all'
                   order='random'
                   preload='auto'
                   volume='0.7'
                   list-folded='true'
        >
        </meting-js>
    </div>
</div>

<script src="/blog/libs/aplayer/APlayer.min.js"></script>
<!-- <script src="https://cdn.jsdelivr.net/npm/meting@2/dist/Meting.min.js"></script> -->

    
    <div class="container row center-align" style="margin-bottom: 0px !important;">
        <div class="col s12 m8 l8 copy-right">
            Copyright&nbsp;&copy;
            
            
                <span id="year">2022-2025
                </span>
            
            

            <a href="/blog/about" target="_blank">
                xmxe
            </a>
            |&nbsp;Powered by&nbsp;
            <a href="https://hexo.io/" target="_blank">Hexo</a>
            |&nbsp;Theme&nbsp;
            <a href="https://github.com/blinkfox/hexo-theme-matery" target="_blank">Matery</a>
            <br>

            
            
            
            
            
            

            
            <br>

            
            <br>

            
        </div>
        <div class="col s12 m4 l4 social-link2 ">
    <a href="https://github.com/xmxe" class="tooltipped" target="_blank" data-tooltip="GitHub" data-position="top" data-delay="50">
        <i class="fab fa-github"></i>
    </a>



    <a href="https://gitee.com/xmxe" class="tooltipped" target="_blank" data-tooltip="码云" data-position="top" data-delay="50">
        <svg width="19" height="19" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" style="position: relative; top: 2px; left: 0.5px;">
            <path d="M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512z m259.2-569.6H480c-12.8 0-25.6 12.8-25.6 25.6v64c0 12.8 12.8 25.6 25.6 25.6h176c12.8 0 25.6 12.8 25.6 25.6v12.8c0 41.6-35.2 76.8-76.8 76.8h-240c-12.8 0-25.6-12.8-25.6-25.6V416c0-41.6 35.2-76.8 76.8-76.8h355.2c12.8 0 25.6-12.8 25.6-25.6v-64c0-12.8-12.8-25.6-25.6-25.6H416c-105.6 0-188.8 86.4-188.8 188.8V768c0 12.8 12.8 25.6 25.6 25.6h374.4c92.8 0 169.6-76.8 169.6-169.6v-144c0-12.8-12.8-25.6-25.6-25.6z" fill="#fff">
            </path>
        </svg>
    </a>

















    
        
          <a href="/blog/download" class="tooltipped" target="_blank" data-tooltip="下载" data-position="top" data-delay="50">
            <i class="fas fa-download"></i>
          </a>
        
    



    <style>
  .mobiledevice {
    display: none !important;
  }

  footer .wechat_qrcode {
    position: fixed;
  }

  /*微信二维码*/
  .wechat_qrcode {
    position: absolute;
    margin-left: 10px;
    bottom: 10px;
    background: url("/blog/medias/xcx.png");
    zoom:40%;
  }

  .wechat:hover .wechat_qrcode {
    width: 430px;
    height: 430px;
    animation: move 0.4s linear 1 normal;
  }

  @keyframes move {
    0% {
      transform: translate(100px, 0);
      opacity: 0;
    }
    50% {
      transform: translate(50px, 0);
      opacity: 0.5;
    }
    100% {
      transform: translate(0, 0);
      opacity: 1;
    }
  }

  @media only screen and (max-width: 601px) {
    .wechat {
      display: none !important;
    }
    .mobiledevice {
      display: inline-block !important;
    }
  }
</style>

<a href="javascript:;" class="wechat" data-position="top" data-delay="50">
  <i class="fab fa-weixin"></i>
  <img class="wechat_qrcode" />
</a>

<a
  href="javascript:;"
  class="tooltipped mobiledevice"
  data-tooltip="微信: 464817304"
  data-position="top"
  data-delay="50"
>
  <i class="fab fa-weixin"></i>
</a>

</div>
    </div>
</footer>

<div class="progress-bar"></div>


    <!-- 搜索遮罩框 -->
<div id="searchModal" class="modal">
    <div class="modal-content">
        <div class="search-header">
            <span class="title"><i class="fas fa-search"></i>&nbsp;&nbsp;搜索</span>
            <input type="search" id="searchInput" name="s" placeholder="请输入搜索的关键字"
                   class="search-input">
        </div>
        <div id="searchResult"></div>
    </div>
</div>

<script type="text/javascript">
$(function () {
    var searchFunc = function (path, search_id, content_id) {
        'use strict';
        $.ajax({
            url: path,
            dataType: "xml",
            success: function (xmlResponse) {
                // get the contents from search data
                var datas = $("entry", xmlResponse).map(function () {
                    return {
                        title: $("title", this).text(),
                        content: $("content", this).text(),
                        url: $("url", this).text()
                    };
                }).get();
                var $input = document.getElementById(search_id);
                var $resultContent = document.getElementById(content_id);
                $input.addEventListener('input', function () {
                    var str = '<ul class=\"search-result-list\">';
                    var keywords = this.value.trim().toLowerCase().split(/[\s\-]+/);
                    $resultContent.innerHTML = "";
                    if (this.value.trim().length <= 0) {
                        return;
                    }
                    // perform local searching
                    datas.forEach(function (data) {
                        var isMatch = true;
                        var data_title = data.title.trim().toLowerCase();
                        var data_content = data.content.trim().replace(/<[^>]+>/g, "").toLowerCase();
                        var data_url = data.url;
                        data_url = data_url.indexOf('/') === 0 ? data.url : '/' + data_url;
                        var index_title = -1;
                        var index_content = -1;
                        var first_occur = -1;
                        // only match artiles with not empty titles and contents
                        if (data_title !== '' && data_content !== '') {
                            keywords.forEach(function (keyword, i) {
                                index_title = data_title.indexOf(keyword);
                                index_content = data_content.indexOf(keyword);
                                if (index_title < 0 && index_content < 0) {
                                    isMatch = false;
                                } else {
                                    if (index_content < 0) {
                                        index_content = 0;
                                    }
                                    if (i === 0) {
                                        first_occur = index_content;
                                    }
                                }
                            });
                        }
                        // show search results
                        if (isMatch) {
                            str += "<li><a href='" + data_url + "' class='search-result-title'>" + data_title + "</a>";
                            var content = data.content.trim().replace(/<[^>]+>/g, "");
                            if (first_occur >= 0) {
                                // cut out 100 characters
                                var start = first_occur - 20;
                                var end = first_occur + 80;
                                if (start < 0) {
                                    start = 0;
                                }
                                if (start === 0) {
                                    end = 100;
                                }
                                if (end > content.length) {
                                    end = content.length;
                                }
                                var match_content = content.substr(start, end);
                                // highlight all keywords
                                keywords.forEach(function (keyword) {
                                    var regS = new RegExp(keyword, "gi");
                                    match_content = match_content.replace(regS, "<em class=\"search-keyword\">" + keyword + "</em>");
                                });

                                str += "<p class=\"search-result\">" + match_content + "...</p>"
                            }
                            str += "</li>";
                        }
                    });
                    str += "</ul>";
                    $resultContent.innerHTML = str;
                });
            }
        });
    };

    searchFunc('/blog/search.xml', 'searchInput', 'searchResult');
});
</script>

    <!-- 回到顶部按钮 -->
<div id="backTop" class="top-scroll">
    <a class="btn-floating btn-large waves-effect waves-light" href="#!">
        <i class="fas fa-arrow-up"></i>
    </a>
</div>

    <div class="stars-con">
  <div id="stars"></div>
  <div id="stars2"></div>
  <div id="stars3"></div>  
</div>

<!-- 白天和黑夜主题 -->



<script>
  function switchNightMode() {
    
      setTimeout(function () {
        $('body').hasClass('DarkMode') 
        ? ($('body').removeClass('DarkMode'), localStorage.setItem('isDark', '0'), $('#sum-moon-icon').removeClass("fa-sun").addClass('fa-moon')) 
        : ($('body').addClass('DarkMode'), localStorage.setItem('isDark', '1'), $('#sum-moon-icon').addClass("fa-sun").removeClass('fa-moon')),
          
        setTimeout(function () {
          $('.Cuteen_DarkSky').fadeOut(1e3, function () {
            $(this).remove()
          })
        }, 2e3)
      })
  }
</script>
    
    
    <script>
        /* 模式判断 */
        if (localStorage.getItem('isDark') === '1') {
            document.body.classList.add('DarkMode');
            $('#sum-moon-icon').addClass("fa-sun").removeClass('fa-moon')
        } else {
            document.body.classList.remove('DarkMode');
            $('#sum-moon-icon').removeClass("fa-sun").addClass('fa-moon')
        }
    </script>

    <script src="/blog/libs/materialize/materialize.min.js"></script>
    <script src="/blog/libs/masonry/masonry.pkgd.min.js"></script>
    <script src="/blog/libs/aos/aos.js"></script>
    <script src="/blog/libs/scrollprogress/scrollProgress.min.js"></script>
    <script src="/blog/libs/lightGallery/js/lightgallery-all.min.js"></script>
    <script src="/blog/js/matery.js"></script>

    <!-- Baidu Analytics -->

    <!-- Baidu Push -->

<script>
    (function () {
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        } else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
</script>

    
    

    

    

	
    

    

    
    <script type="text/javascript" src="/blog/libs/background/ribbon-dynamic.js" async="async"></script>
    

    

    <!-- 冒泡 -->
    
    <script type="text/javascript">
        // 只在桌面版网页启用特效
        // var windowWidth = $(window).width();
        
            document.write('<script type="text/javascript" src="/blog/libs/others/bubleAll.js"><\/script>');
        
        
    </script>
    

    <!-- 弹出文字 -->
    

</body>

</html>
